package cn.itcast.hotel.service;

import cn.itcast.hotel.pojo.Hotel;
import cn.itcast.hotel.pojo.RequestParm;
import cn.itcast.hotel.pojo.ResponseParms;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface IHotelService extends IService<Hotel> {
    ResponseParms search(RequestParm parms) throws IOException;

    Map<String, List<String>> filters(RequestParm parms) throws IOException;

    List<String> suggestion(String key) throws IOException;

    void insertorupdatehotel(Long id) throws IOException;

    void deletehotel(Long id) throws IOException;
}
